package com.yuyou.activity.comm.service.entity;

import java.io.Serializable;
import java.util.Date;

/**
 * @author 
 */
public class PayRefund implements Serializable {
    /**
     * 主键
     */
    private Long payRefundId;

    /**
     * 退款业务订单编号
     */
    private String refundId;

    /**
     * 集团支付中心订单号
     */
    private String payOrderId;

    /**
     * 原业务订单编号
     */
    private String orderId;

    /**
     * 退款金额，单位为分
     */
    private Long refundAmount;

    /**
     * 订单总金额，单位为分
     */
    private Long totalAmount;

    /**
     * 商户附加信息，可做扩展参数，255 字符内
     */
    private String attach;

    /**
     * 集团支付中心退款订单号
     */
    private String refundOrderId;

    /**
     * 状态：0：初始化，1：退款成功，2：退款失败
     */
    private Integer refundStatus;

    /**
     * 创建时间
     */
    private Date createTime;

    private static final long serialVersionUID = 1L;

    public Long getPayRefundId() {
        return payRefundId;
    }

    public void setPayRefundId(Long payRefundId) {
        this.payRefundId = payRefundId;
    }

    public String getRefundId() {
        return refundId;
    }

    public void setRefundId(String refundId) {
        this.refundId = refundId;
    }

    public String getPayOrderId() {
        return payOrderId;
    }

    public void setPayOrderId(String payOrderId) {
        this.payOrderId = payOrderId;
    }

    public String getOrderId() {
        return orderId;
    }

    public void setOrderId(String orderId) {
        this.orderId = orderId;
    }

    public Long getRefundAmount() {
        return refundAmount;
    }

    public void setRefundAmount(Long refundAmount) {
        this.refundAmount = refundAmount;
    }

    public Long getTotalAmount() {
        return totalAmount;
    }

    public void setTotalAmount(Long totalAmount) {
        this.totalAmount = totalAmount;
    }

    public String getAttach() {
        return attach;
    }

    public void setAttach(String attach) {
        this.attach = attach;
    }

    public String getRefundOrderId() {
        return refundOrderId;
    }

    public void setRefundOrderId(String refundOrderId) {
        this.refundOrderId = refundOrderId;
    }

    public Integer getRefundStatus() {
        return refundStatus;
    }

    public void setRefundStatus(Integer refundStatus) {
        this.refundStatus = refundStatus;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }
}